package com.krtech.wecard.module.farmhouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 在建农房巡查照片
 */
@ApiModel(value = "com-krtech-wecard-module-farmhouse-entity-FarmHousePicPath")
@Data
@TableName(value = "farm_house_pic_path")
public class FarmHousePicPath {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 在建农房外键
     */
    @TableField(value = "fk_farm_house_building_id")
    @ApiModelProperty(value = "在建农房外键")
    private Integer fkFarmHouseBuildingId;

    /**
     * 上传时间
     */
    @TableField(value = "upload_time")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;

    /**
     * 上传人
     */
    @TableField(value = "upload_user")
    @ApiModelProperty(value = "上传人")
    private String uploadUser;

    public static final String COL_ID = "id";

    public static final String COL_FK_FARM_HOUSE_BUILDING_ID = "fk_farm_house_building_id";

    public static final String COL_UPLOAD_TIME = "upload_time";

    public static final String COL_UPLOAD_USER = "upload_user";
}